package com.atguigu.eduservice.client;

import com.atguigu.servicebase.exceptionhandler.GuliException;
import org.springframework.stereotype.Component;

import java.util.Map;
@Component
public class UcenterFileDegradeFeignClient implements UcenterClient{
    @Override
    public Map getcurrentInfo(String id) {
        throw new GuliException(20001,"获取用户信息失败");
    }
}
